﻿using NUnit.Framework;
using Vk.Methods.Pages;
using Vk.Methods.Polls;
using Vk.Methods.Status;
using Vk.Methods.Storage;

namespace UnitTests
{
    [TestFixture]
    public class PollsTests : TestsBase
    {
        [Test]
        public void GetByIdTest()
        {
            IsSignatureUpdated(typeof(Polls).GetMethod("GetById"));
        }

        [Test]
        public void AddVoteTest()
        {
            IsSignatureUpdated(typeof(Polls).GetMethod("AddVote"));
        }

        [Test]
        public void DeleteVoteTest()
        {
            IsSignatureUpdated(typeof(Polls).GetMethod("DeleteVote"));
        }

        [Test]
        public void GetVotersTest()
        {
            IsSignatureUpdated(typeof(Polls).GetMethod("GetVoters"));
        }

        [Test]
        public void CreateTest()
        {
            IsSignatureUpdated(typeof(Polls).GetMethod("Create"));
        }

        [Test]
        public void EditTest()
        {
            IsSignatureUpdated(typeof(Polls).GetMethod("Edit"));
        }

    }
}